

export enum UploadBizType {
  AGILE_BOOT_IMAGE = 'agile_boot_image'
}

export enum TenantType {
  PLATFORM = '1',
  MANAGE = '2',
  MAIN = '3',
  SUB = '4',
}

export const getTenantTypeName = (code) => {
  switch(code) {
    case TenantType.MAIN:
      return '主租户'
    case TenantType.PLATFORM:
      return '平台端'
    case TenantType.MANAGE:
      return '管理端'
    case TenantType.SUB:
      return '子租户'
}
}